package com.reef.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.reef.entity.Book;
import com.reef.service.BorrowService;
@RestController
public class BorrowController{
@Autowired
private BorrowService bsService;
@RequestMapping("/selById")
public Book selById(int id) {
	return bsService.selById(id);
}
}
